import FunctionNode from "./nodes/FunctionNode";
import SwitchNode from "./nodes/SwitchNode";
import StartNode from "./nodes/StartNode";
import FetchNode from "./nodes/FetchNode";
import DelayNode from "./nodes/DelayNode";
import FlowLink from "./FlowLink";
import VueHtmlNode from './nodes/VueHtmlNode';


import RdbmsInputNode from './nodes/input/RdbmsInputNode'
import HttpInputNode from './nodes/input/HttpInputNode'
import RdbmsOutPutNode from './nodes/output/RdbmsOutPutNode'
import HttpOutPutNode from './nodes/output/HttpOutPutNode'


class NodeRedExtension {
	static pluginName = 'NodeRedExtension'

	constructor({lf}) {
		lf.register(RdbmsInputNode)
		lf.register(HttpInputNode)
		lf.register(RdbmsOutPutNode)
		lf.register(HttpOutPutNode)
		lf.register(FunctionNode);
		lf.register(SwitchNode);
		lf.register(StartNode);
		lf.register(FetchNode);
		lf.register(FlowLink);
		lf.register(DelayNode);
		lf.register(VueHtmlNode);
		lf.setDefaultEdgeType('flow-link');
	}

}

export default NodeRedExtension
